package cn.cs.mapper;

import cn.cs.pojo.AppSettlement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface AppSettlementMapper {

    public Map<String, String> getAppSettlementById(@Param(value = "id") String id) throws Exception;

    public List<AppSettlement> getAppSettlementListByMap(Map<String, Object> param) throws Exception;

    public Integer getAppSettlementCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertAppSettlement(AppSettlement appSettlement) throws Exception;

    public Integer updateAppSettlement(AppSettlement appSettlement) throws Exception;

    public Integer deleteAppSettlementById(@Param(value = "id") String id) throws Exception;

    public Integer updateAppSettlementState(@Param("id")String id,@Param("personId")String personId)throws Exception;

}
